package com.business.dao;

import com.business.domain.ActivitiesCar;
import com.business.domain.ActivitiesCarExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository("activitiesCarMapper")
public interface ActivitiesCarMapper {
    int countByExample(ActivitiesCarExample example);

    int deleteByExample(ActivitiesCarExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ActivitiesCar record);

    int insertSelective(ActivitiesCar record);

    List<ActivitiesCar> selectByExample(ActivitiesCarExample example);

    ActivitiesCar selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ActivitiesCar record, @Param("example") ActivitiesCarExample example);

    int updateByExample(@Param("record") ActivitiesCar record, @Param("example") ActivitiesCarExample example);

    int updateByPrimaryKeySelective(ActivitiesCar record);

    int updateByPrimaryKey(ActivitiesCar record);

    ActivitiesCar getPrice(Map<String, String> map);

    /**
     * 查重
     */
    int checkActiceCar(Map<String, Object> map);
}